interface propType {
    location:any;
    routes:any;
    action:any
}
export function onRouteChange({location,routes,action}:propType){
    console.log(location.pathname)
}
